package com.entity;

public class User {
    private int uid;
    private  String  uName;
    private  String  uPass;
    private  double balance;
    private  int uType;
    private String uphone;

    public User() {
    }

    public User(int uid, String uName, String uPass, double balance, int uType, String uphone) {
        this.uid = uid;
        this.uName = uName;
        this.uPass = uPass;
        this.balance = balance;
        this.uType = uType;
        this.uphone = uphone;
    }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", uName='" + uName + '\'' +
                ", uPass='" + uPass + '\'' +
                ", balance=" + balance +
                ", uType=" + uType +
                ", uphone='" + uphone + '\'' +
                '}';
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getuPass() {
        return uPass;
    }

    public void setuPass(String uPass) {
        this.uPass = uPass;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public int getuType() {
        return uType;
    }

    public void setuType(int uType) {
        this.uType = uType;
    }

    public String getUphone() {
        return uphone;
    }

    public void setUphone(String uphone) {
        this.uphone = uphone;
    }

}
